package com.oracle.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author ${author}
 * @since 2021-11-30
 */
@Data
  @EqualsAndHashCode(callSuper = false)
    @TableName("member")
public class Member extends Model<Member> {

    private static final long serialVersionUID = 1L;

      /**
     * id
     */
        @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      /**
     * 版本号
     */
      private Integer version;

      /**
     * 用户名
     */
      private String memberName;

      /**
     * 登录账号
     */
      private String loginId;

      /**
     * 登录密码
     */
      private String loginPwd;

      /**
     * 手机号码
     */
      private String mobileNumber;

      /**
     * 邮箱
     */
      private String email;

      /**
     * 创建时间
     */
      private LocalDateTime createDate;

      /**
     * 修改时间
     */
      private LocalDateTime modifyDate;

      /**
     * 是否删除
     */
      private Integer isDelete;


    @Override
    protected Serializable pkVal() {
          return this.id;
      }

}
